{% if probability_data %}
| 档次 | 概率区间 | 院校名称 | 专业名称 | 录取概率 | 招生人数 |
| --- | --- | --- | --- | --- | --- |
{% set count_1 = [] %}
{% for item in probability_data if item.probability|float * 100 >= 1 and item.probability|float * 100 <= 30 and count_1|length < 10 %}
| {% if loop.first %}冲{% endif %} | {% if loop.first %}1%-30%{% endif %} | {{ item.school }} | {{ item.major }} | {{ (item.probability|float * 100)|round(2) }}% | {{ item.enroll_num }} |
{% endfor %}
{% set count_2 = [] %}
{% for item in probability_data if item.probability|float * 100 > 30 and item.probability|float * 100 <= 70 and count_2|length < 10 %}
| {% if loop.first %}保{% endif %} | {% if loop.first %}30%-70%{% endif %} | {{ item.school }} | {{ item.major }} | {{ (item.probability|float * 100)|round(2) }}% | {{ item.enroll_num }} |
{% endfor %}
{% set count_3 = [] %}
{% for item in probability_data if item.probability|float * 100 > 70 and item.probability|float * 100 <= 100 and count_3|length < 10 %}
| {% if loop.first %}稳{% endif %} | {% if loop.first %}70%-100%{% endif %} | {{ item.school }} | {{ item.major }} | {{ (item.probability|float * 100)|round(2) }}% | {{ item.enroll_num }} |
{% endfor %}
{% endif %}